<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <?php
		include_once 'public/views/header.php';
		include_once 'public/home/html/laydate.php';
		?>
    <title>督导听课评价表</title>
</head>

<style>
    body{
        background: #fff;
    }
    *{
    margin: 0;padding: 0;
}
.top{
    /* margin-top: 5%; */
    width: 100%;
    text-align: center;
}
.topsp{
    margin-left: 15%;
    font-size: 25px;
    font-weight: bold;
}
.topsp1{
    font-size: 13px;
    font-weight: bold;
}
.bottom{
    width: 100%;
    margin-top: 1%;
    margin-bottom: 5%;
}
.bottom form{
    margin: 0 auto;
}
.trs{
    border-bottom: 1px solid #000;
    height: 50px;
}
.course{
width: 40px;
height: 45px;
font-size: 15px;
font-weight: bold;
text-align: center;

}
.course1{
    border-left: 1px solid #000;
    padding-left: 0.5%;
    vertical-align:middle;
    font-size: 14px;
    font-family: 'SimSun';
}
.course2{
    border-left: 1px solid #000;
    text-align: center;
    vertical-align:middle;
    font-size: 14px;
    font-family: 'SimSun';
}
.ckbox{
    vertical-align:middle;
    margin-bottom: 3px;
}
.Teacher{
    
    width: 44px;
    height: 45px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
}
.Teacher1{
    border-left: 1px solid #000;
    padding-left: 0.5%;
    vertical-align:middle;
    font-size: 14px;
    font-family: 'SimSun';
}
.ther{
    border-bottom: 1px solid #000;
    height: 28px;
}
.bor{
    border: 0;
    height: 20px;
}
.wid{
    width: 120px;
    height: 20px;
}
.borl{
    border-left: 1px solid #000;
}
.borb{
    border-bottom: 1px solid #000;
}
td{
    width: 10px;
    height:15px;/*这里需要自己调整，根据自己的需求调整高度*/
    position: relative;
    }
td[class=trtd]:before{
    content: '';
    position: absolute;
    width: 1px;
    height: 54px;
    top: 0px;
    left: 38px;
    background-color: black;
    display: block;
    transform: rotate(45.9deg);
    transform-origin: top;
}
.xx{
    content: '';
    position: absolute;
    width: 1px;
    height: 54px;
    top: 0px;
    left: 38px;
    background-color: black;
    display: block;
    transform: rotate(45.9deg);
    transform-origin: top;
}

.thaty{
    text-align: center;
    border: 1px solid #000;
    width: 50px;
    height: 20px;
}
.standard{
    height: 80px;
    border: 1px solid #000;
    text-align: center;
}
.ability{
    width: 44px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 1.5%;
}
.tsstus{
    width: 44px;
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    padding: 3.5%;
}
.score{
    height: 22px;
    width: 29px;
    border: 0;
    text-align: center;
}
.score1{
    width: 75px;
    height: 22px;
    border: 0;
    text-align: center;
}
.cascore{
    height: 22px;
    width: 55px;
    border: 0;
    text-align: center;
}
#print{
        position: absolute;
        top:10px;
        right:10%;
      }
</style>

<!-- 打印时隐藏按钮 -->
<style media="print">
  #print {
  display: none;
  }
</style>
<style media="screen">
   #print {
  display: block;
  }
</style>
<body>
    
        <div id="print"></div>
    <div class="top">
        <span class="topsp">督导听课评价表</span>
        <!-- <?var_dump($detail);?> -->
        <span class="topsp1"><?=$detail['attend']['academic_year'].'学年'.$detail['attend']['semester']?></span>
    </div>
    <div class="bottom">
        <form>
            <table
                style="border: 1px solid #000;width: 210mm;height: 1500px; margin: 0 auto;border-collapse: collapse;">
                <thead>
                    <!-- 课程信息 -->
                    <tr class="trs">
                        <td class="course"><span>课程信息</span></td>
                        <td class="course1" colspan="5">课程名称：<?=$detail['attend']['class_name']?>
                        </td>
                        <td class="course1" colspan="7" >课程类型：<?=$detail['attend']['class_type']?> </td>

                        <td class="course1" colspan="7">开课单位：<?=$detail['attend']['course_units']?></td>

                    </tr>

                    <!-- 教师信息 -->
                    <tr class="ther">
                        <td class="Teacher" rowspan="2">教师信息</td>
                        <td class="Teacher1"  colspan="5">教师姓名：<?=$detail['attend']['teacher_name']?></td>
                        <td class="Teacher1" colspan="7" >教师职称：<?=$detail['attend']['title']?></td>
                        <td class="Teacher1" colspan="7">所属单位和专业：<?=$detail['attend']['dept_name']?></td>
                    </tr>
                    <tr class="ther">
                        <td class="Teacher1" colspan="6" >年龄层次：<?=$detail['attend']['age_groups']?></td>

                    </tr>

                    <!-- 听课信息 -->
                    <tr class="ther">
                        <td class="Teacher" rowspan="2">听课信息</td>
                        <td class="Teacher1"  colspan="5">听课督导：<?=$detail['attend']['listen_name']?></td>
                        <td class="Teacher1" colspan="7" >听课地点：<?=$detail['attend']['listen_address']?></td>
                        <td class="Teacher1" colspan="7" >听课时间：<?=date('Y-m-d',$detail['attend']['listen_time'])?>
                        </td>
                    </tr>
                    <tr class="ther">
                        <td class="Teacher1" colspan="19">听课班级：<?=$detail['attend']['listen_class']?></td>
                    </tr>
                    <!-- 评价项目 -->
                    <tr>
                        <td class="course" style="border-bottom: 1px solid #000;">评价项目</td>
                        <td class="course borl borb" 评 价内 容</td>
                        <td class="course2 borb" style="text-align: center;padding: 0.5%;width: 50px;">配分</td>
                        <td class="course2 borb" colspan="6">好</td>
                        <td class="course2 borb" colspan="5">中</td>
                        <td class="course2 borb" colspan="6">差</td>
                    </tr>

                </thead>
                <tbody style="border: 1;">

                    <!-- 教学能力 -->
                    <tr>
                        <td class="ability borb" rowspan="12">教　学　能　力　</td>
                        <!-- 教学准备 -->
                        <td class="ability borl borb" id="Teaching_ability" rowspan="3">教学准备</td>

                        <td class="thaty">20</td>
                        <td class="thaty">20</td>
                        <td class="thaty">19</td>
                        <td class="thaty">18</td>
                        <td class="thaty">17</td>
                        <td class="thaty">16</td>
                        <td style="height:15px;position: relative;"><p class='xx'></p></td>
                        <td class="thaty">15</td>
                        <td class="thaty">14</td>
                        <td class="thaty">13</td>
                        <td class="thaty">12</td>
                        <td class="trtd"></td>
                        <td class="thaty">10</td>
                        <td class="thaty">8</td>
                        <td class="thaty">6</td>
                        <td class="thaty">4</td>
                        <td class="thaty">2</td>
                        <td class="thaty">0</td>

                    <tr style="height: 60px;">
                        <td class="borl borb standard">标准</td>
                        <td colspan="6" class="standard">教具齐全，教学资料、教学载体丰富，能提前5分钟以上到教室准备。</td>
                        <td colspan="5" class="standard">能在铃响前到教室，教具、教学资料有准备。</td>
                        <td colspan="6" class="standard">上课铃响后才开启电脑、投影等，影响教学时间；出现教室冲突、教具不足等问题，影响正常上课。</td>
                    </tr>
                    <tr style="height: 20px;">
                        <td class="thaty">评分</td>
                        <td class="thaty" colspan="5"><?=$detail['attend_teaching_content'][0]['get_score']>=TeachingContent::First[XPHEnum::Detail][2][0] && $detail['attend_teaching_content'][0]['get_score']<=TeachingContent::First[XPHEnum::Detail][2][1] ? $detail['attend_teaching_content'][0]['get_score'] : ''?></td>
                        <td style="height:15px;position: relative;border-bottom: 1px solid #000;"><p class='xx'></p></td>
                        <td class="thaty" colspan="4"><?=$detail['attend_teaching_content'][0]['get_score']>=TeachingContent::First[XPHEnum::Detail][1][0] && $detail['attend_teaching_content'][0]['get_score']<=TeachingContent::First[XPHEnum::Detail][1][1] ? $detail['attend_teaching_content'][0]['get_score'] : ''?></td>
                        <td class="trtd" style="border-bottom: 1px solid #000;"></td>
                        <td class="thaty" colspan="6"><?=$detail['attend_teaching_content'][0]['get_score']>=TeachingContent::First[XPHEnum::Detail][0][0] && $detail['attend_teaching_content'][0]['get_score']<=TeachingContent::First[XPHEnum::Detail][0][1] ? $detail['attend_teaching_content'][0]['get_score'] : ''?></td>
                    </tr>
                    </tr>

                    <!-- 教学内容 -->
                    <tr>
                        <td class="ability borl borb" rowspan="3">教学内容</td>

                        <td class="thaty">20</td>
                        <td class="thaty">20</td>
                        <td class="thaty">19</td>
                        <td class="thaty">18</td>
                        <td class="thaty">17</td>
                        <td class="thaty">16</td>
                        <td style="height:15px;position: relative;border-bottom: 1px solid #000;"><p class='xx'></p></td>
                        <td class="thaty">15</td>
                        <td class="thaty">14</td>
                        <td class="thaty">13</td>
                        <td class="thaty">12</td>
                        <td class="trtd" style="border-bottom: 1px solid #000;"></td>
                        <td class="thaty">10</td>
                        <td class="thaty">8</td>
                        <td class="thaty">6</td>
                        <td class="thaty">4</td>
                        <td class="thaty">2</td>
                        <td class="thaty">0</td>

                    <tr>
                        <td class="borl borb standard">标准</td>
                        <td colspan="6" class="standard">备课认真且充分，教学内容选取合理、充足，专业知识及能力扎实，职业素养教育、课程思政融入课堂教学。</td>
                        <td colspan="5" class="standard">备课较充分，教学内容选取基本恰当，有一定的课程思政。</td>
                        <td colspan="6" class="standard">备课不充分或不认真；教学内容陈旧，或和岗位实际不太相符，内容选取偏多或偏少偏难，或教学内容有明显错误。</td>
                    </tr>
                    <tr>
                        <td class="thaty">评分</td>
                        <td class="thaty" colspan="5"><?=$detail['attend_teaching_content'][1]['get_score']>=TeachingContent::Second[XPHEnum::Detail][2][0] && $detail['attend_teaching_content'][1]['get_score']<=TeachingContent::Second[XPHEnum::Detail][2][1] ? $detail['attend_teaching_content'][1]['get_score'] : ''?></td>
                        <td style="height:15px;position: relative;border-bottom: 1px solid #000;"><p class='xx'></p></td>
                        <td class="thaty" colspan="4"><?=$detail['attend_teaching_content'][1]['get_score']>=TeachingContent::Second[XPHEnum::Detail][1][0] && $detail['attend_teaching_content'][1]['get_score']<=TeachingContent::Second[XPHEnum::Detail][1][1] ? $detail['attend_teaching_content'][1]['get_score'] : ''?></td>
                        <td class="trtd" style="border-bottom: 1px solid #000;"></td>
                        <td class="thaty" colspan="6"><?=$detail['attend_teaching_content'][1]['get_score']>=TeachingContent::Second[XPHEnum::Detail][0][0] && $detail['attend_teaching_content'][1]['get_score']<=TeachingContent::Second[XPHEnum::Detail][0][1] ? $detail['attend_teaching_content'][1]['get_score'] : ''?></td>
                    </tr>
                    </tr>
                    <!-- 教学实施 -->

                    <tr>
                        <td class="ability borl borb" rowspan="3">教学实施</td>

                        <td class="thaty">35</td>
                        <td class="thaty">35</td>
                        <td class="thaty">34</td>
                        <td class="thaty">32</td>
                        <td class="thaty">30</td>
                        <td class="thaty">28</td>
                        <td style="height:15px;position: relative;border-bottom: 1px solid #000;"><p class='xx'></p></td>
                        <td class="thaty">27</td>
                        <td class="thaty">25</td>
                        <td class="thaty">23</td>
                        <td class="thaty">21</td>
                        <td class="trtd"></td>
                        <td class="thaty">20</td>
                        <td class="thaty">16</td>
                        <td class="thaty">12</td>
                        <td class="thaty">8</td>
                        <td class="thaty">4</td>
                        <td class="thaty">0</td>

                    <tr>
                        <td class="borl borb standard">标准</td>
                        <td colspan="6" class="standard">
                            熟练应用信息化教学手段，能采取多种有效教学形式，教学实施顺畅有效，教学时间分配合理，能因材施教，师生互动有效，充分调动学生学习积极性。</td>
                        <td colspan="5" class="standard">能够开展一定的信息化教学，教学实施基本流畅，教学时间分配基本合理。能关注学生状态，课堂状态一般。</td>
                        <td colspan="6" class="standard">
                            课堂组织不够清晰流畅，教学进度与授课计划有较大出入，没有信息化教学。课堂不够活跃，对学生状态不关注，不管理课堂纪律，讲解混乱，操作出现失误。</td>
                    </tr>
                    <tr>
                        <td class="thaty">评分</td>
                        <td class="thaty" colspan="5"><?=$detail['attend_teaching_implementation'][0]['get_score']>=TeachingImplementation::First[XPHEnum::Detail][2][0] && $detail['attend_teaching_implementation'][0]['get_score']<=TeachingImplementation::First[XPHEnum::Detail][2][1] ? $detail['attend_teaching_implementation'][0]['get_score'] : ''?></td>
                        <td style="height:15px;position: relative;border-bottom: 1px solid #000;"><p class='xx'></p></td>
                        <td class="thaty" colspan="4"><?=$detail['attend_teaching_implementation'][0]['get_score']>=TeachingImplementation::First[XPHEnum::Detail][1][0] && $detail['attend_teaching_implementation'][0]['get_score']<=TeachingImplementation::First[XPHEnum::Detail][1][1] ? $detail['attend_teaching_implementation'][0]['get_score'] : ''?></td>
                        <td class="trtd"></td>
                        <td class="thaty" colspan="6"><?=$detail['attend_teaching_implementation'][0]['get_score']>=TeachingImplementation::First[XPHEnum::Detail][0][0] && $detail['attend_teaching_implementation'][0]['get_score']<=TeachingImplementation::First[XPHEnum::Detail][0][1] ? $detail['attend_teaching_implementation'][0]['get_score'] : ''?></td>
                    </tr>
                    </tr>
                    <!-- 教学效果 -->
                    <tr>
                        <td class="ability borl borb" rowspan="3">教学效果</td>

                        <td class="thaty">25</td>
                        <td class="thaty">25</td>
                        <td class="thaty">24</td>
                        <td class="thaty">23</td>
                        <td class="thaty">22</td>
                        <td class="thaty">21</td>
                        <td class="thaty">20</td>
                        <td class="thaty">19</td>
                        <td class="thaty">18</td>
                        <td class="thaty">17</td>
                        <td class="thaty">16</td>
                        <td class="thaty">15</td>
                        <td class="thaty">14</td>
                        <td class="thaty">12</td>
                        <td class="thaty">9</td>
                        <td class="thaty">6</td>
                        <td class="thaty">3</td>
                        <td class="thaty">0</td>

                    <tr>
                        <td class="borl borb standard">标准</td>
                        <td colspan="6" class="standard">教学组织有创新；教学活动安全、有效；课堂有感染力，学生配合程度高，课堂气氛活跃；教学效果非常好。</td>
                        <td colspan="5" class="standard">教学组织平稳但没创新；教学活动安全、有效；有一定的课堂互动，学生基本配合；教学效果良好。</td>
                        <td colspan="6" class="standard">课堂教学模式比较死板；课堂比较沉闷、学生基本不配合；教学效果较差；出现教学事故。</td>
                    </tr>
                    <tr>
                        <td class="thaty">评分</td>
                        <td class="thaty" colspan="6"><?=$detail['attend_teaching_implementation'][1]['get_score']>=TeachingImplementation::Second[XPHEnum::Detail][2][0] && $detail['attend_teaching_implementation'][1]['get_score']<=TeachingImplementation::Second[XPHEnum::Detail][2][1] ? $detail['attend_teaching_implementation'][1]['get_score'] : ''?></td>
                        <td class="thaty"colspan="5"><?=$detail['attend_teaching_implementation'][1]['get_score']>=TeachingImplementation::Second[XPHEnum::Detail][1][0] && $detail['attend_teaching_implementation'][1]['get_score']<=TeachingImplementation::Second[XPHEnum::Detail][1][1] ? $detail['attend_teaching_implementation'][1]['get_score'] : ''?></td>
                        <td class="thaty" colspan="6"><?=$detail['attend_teaching_implementation'][1]['get_score']>=TeachingImplementation::Second[XPHEnum::Detail][0][0] && $detail['attend_teaching_implementation'][1]['get_score']<=TeachingImplementation::Second[XPHEnum::Detail][0][1] ? $detail['attend_teaching_implementation'][1]['get_score'] : ''?></td>
                    </tr>
                    </tr>
                    <!-- 学生状况 -->
                    <tr>

                        <td class="tsstus borl borb" rowspan="3" colspan="2">学生状况</td>

                        <td class="thaty">100</td>
                        <td class="thaty">100</td>
                        <td class="thaty">95</td>
                        <td class="thaty">90</td>
                        <td class="thaty">85</td>
                        <td class="thaty">80</td>
                        <td style="height:15px;position: relative;border-bottom: 1px solid #000;"><p class='xx'></p></td>
                        <td class="thaty">78</td>
                        <td class="thaty">74</td>
                        <td class="thaty">70</td>
                        <td class="thaty">66</td>
                        <td class="thaty">62</td>
                        <td class="thaty">60</td>
                        <td class="thaty">48</td>
                        <td class="thaty">36</td>
                        <td class="thaty">24</td>
                        <td class="thaty">12</td>
                        <td class="thaty">0</td>

                    <tr>
                        <td class="borl borb standard">标准</td>
                        <td colspan="6" class="standard">课堂纪律好，听课认真，教学过程参与度高，理解课堂教学知识，主动维护教学环境整洁。</td>
                        <td colspan="5" class="standard">有一定互动，大多数学生能够认真听讲、记笔记，对老师尊敬礼貌。</td>
                        <td colspan="6" class="standard">有学生迟到、早退、睡觉、聊天、玩手机游戏等现象；随意进出教室；不服从教师管理，不配合教师教学。</td>
                    </tr>
                    <tr>
                        <td class="thaty">评分</td>
                        <td class="thaty" colspan="5"><?=$detail['attend_student_status'][0]['get_score']>=StudentStatus::First[XPHEnum::Detail][2][0] && $detail['attend_student_status'][0]['get_score']<=StudentStatus::First[XPHEnum::Detail][2][1] ? $detail['attend_student_status'][0]['get_score'] : ''?></td>
                        <td style="height:15px;position: relative;border-bottom: 1px solid #000;"><p class='xx'></p></td>
                        <td class="thaty" colspan="5"><?=$detail['attend_student_status'][0]['get_score']>=StudentStatus::First[XPHEnum::Detail][1][0] && $detail['attend_student_status'][0]['get_score']<=StudentStatus::First[XPHEnum::Detail][1][1] ? $detail['attend_student_status'][0]['get_score'] : ''?></td>
                        <td class="thaty" colspan="6"><?=$detail['attend_student_status'][0]['get_score']>=StudentStatus::First[XPHEnum::Detail][0][0] && $detail['attend_student_status'][0]['get_score']<=StudentStatus::First[XPHEnum::Detail][0][1] ? $detail['attend_student_status'][0]['get_score'] : ''?></td>
                    </tr>
                    </tr>



                    <tr style="height: 20px;">
                        <td class="borl borb" style="font-size: 15px;
                        font-weight: bold;padding-left: 1%;padding-top: 0.5%;padding-bottom: 0.5%;">总计</td>
                        <td class="borb" colspan="19" style="font-size: 15px;">(教学能力*70%+学生状态*30%):<?=$detail['attend']['score']?></td>

                    </tr>                    
                </tbody>
            </table>
            <table style="border: 1px solid #000;width: 210mm;height: 1500px; margin: 0 auto;border-collapse: collapse;">
            <tr>
                        <td class="borb" colspan="20" style="height: 200px;"><div
                                style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;"><div style="font-weight: bold;">听课意见及建议:</div><br><div style="margin-left:10px"><?=$detail['attend']['advice']?></div></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="borb" colspan="20" style="height: 500px;"><div
                                style="height: 98%;border: 0;padding-top: 0.1%;font-size: 15px;">
                                <div style="font-weight: bold;"> 听课内容记录: 
（包括教学内容、教学过程、教学组织、各环节时间点、学生反映情况等）</div><br>
                                <div style="margin-left:10px">
                                <?=$detail['attend_record'][0]['commentary']?>
                                <div>
                                    <?php foreach ($detail['attend_img'] as $k => $v) :?>
                                        <img src="<?=$v['img']?>" alt="" style="width:200px">
                                    <?php endforeach?>
                                </div>
                                </div>
                                <!-- <div style="margin-left:10px"><?php pri($detail);?></div> -->
                            </div>
                        </td>
                    </tr>
            </table>
        </form>
    </div>

</body>
<script>
  $(function(){

    var str = window.location.href;
    var index = str.substr(str.length-1,1);

    if(index != "?"){
        $("body").css("padding-left","10%");          
    }else{
        $("#print").html("<button class='btn btn-success' onclick='window.print();'>打印</button>");
    }
})
</script>

</html>